﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using StripeOne.Blog.Base.Configuration;
using StripeOne.Core.Tools;
using System.Xml.Linq;
using System.IO;
using System.Xml;

namespace StripeOne.Blog.Base.Common
{
    public class AdminTranslation : StripeOneXml
    {
        public AdminTranslation(string file) : base(file, true, true) { }

        /// <summary>
        /// Retorna o dicionario em português
        /// </summary>
        public static AdminTranslation Default { get { return new AdminTranslation("pt-br"); } }

        public static AdminTranslation Current
        {
            get
            {
                return new AdminTranslation(Instances.Current.Dictionary);
            }
        }
    }
}